package com.abaaba.project2.bean.vo.wx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WXGoodsCategoryShowList {

    private int errno;
    private DataBean data;
    private String errmsg;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class DataBean {

        private CurrentCategoryBean currentCategory;
        private ParentCategoryBean parentCategory;
        private List<BrotherCategoryBean> brotherCategory;


        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class CurrentCategoryBean {


            private int id;
            private String name;
            private String keywords;
            private String desc;
            private int pid;
            private String iconUrl;
            private String picUrl;
            private String level;
            private int sortOrder;
            private Date addTime;
            private Date updateTime;
            private boolean deleted;

        }

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class ParentCategoryBean {

            private int id;
            private String name;
            private String keywords;
            private String desc;
            private int pid;
            private String iconUrl;
            private String picUrl;
            private String level;
            private int sortOrder;
            private Date addTime;
            private Date updateTime;
            private boolean deleted;

        }

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class BrotherCategoryBean {


            private int id;
            private String name;
            private String keywords;
            private String desc;
            private int pid;
            private String iconUrl;
            private String picUrl;
            private String level;
            private int sortOrder;
            private Date addTime;
            private Date updateTime;
            private boolean deleted;

        }
    }
}
